//
//  HomePrograSubCell.m
//  NormalFramework
//
//  Created by beisheng03 on 2018/3/14.
//  Copyright © 2018年 beisheng. All rights reserved.
//

#import "HomePrograSubCell.h"

@interface HomePrograSubCell ()
@property (weak, nonatomic) IBOutlet UIImageView *imageView;
@property (weak, nonatomic) IBOutlet UILabel *bottomLabel;
@end

@implementation HomePrograSubCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.bottomLabel.font = BigTitleFont;
    self.contentView.backgroundColor = [UIColor whiteColor];
    // Initialization code
}

- (void)setModel:(HomeNavModel *)model{
    
    _model = model;
    
    [self.imageView sd_setImageWithURL:[NSURL URLWithString:model.nav_icon]];
    
    self.bottomLabel.text = _model.nav_title;
}

@end
